package models;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import play.db.jpa.Model;

@Entity
@Table(name = "lendcard")
public class LendCard extends Model {

	@Column(name="lec_num",length=50,unique=true)
	public String lecnum ;
	
	@Column(name="lec_pass",length=50)
	public String lecpass ;
	
	@Column(name="lec_sta")
	public Integer lecsta; //'0冻结1正常2欠费',
	
	@Column(name="lec_one",columnDefinition="double(11,2)")
	public double lecmone;
	
}
